package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_zhou_nian_turntable_draw",
        autoSave = true,
        desc = "金玉宝盘抽奖记录",
        uploadCk = true
)
public class LogZhouNianTurntableDraw extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "轮次")
    private int round;
    @FieldTypeAnnotation(desc = "抽奖类型")
    private int type;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogZhouNianTurntableDraw(long userId, int activityId, int round, int type, String reward) {
        this.userId = userId;
        this.activityId = activityId;
        this.round = round;
        this.type = type;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
